package com.server.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.server.model.all.user.entity.RoleMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenuEntity> {
    /**
     * 根据角色ID获取权限字符
     * @author LXC
     * @date 2022/5/4 20:27
     */
    List<String> findPathsByRoleId(@Param("roleId") List<Long> roleId);
}
